<template>
    <view :style="themeColor">
        <view class="page" >
    <view class="flex benben-position-layout flex flex-wrap align-center problemList_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
            <view   class='flex flex-wrap align-center justify-between flex-sub problemList_fd0_0'      >
            <view   class='flex flex-wrap align-center problemList_fd0_0_c0'   @tap.stop="handleJumpDiy" data-type="back" data-url="1"   >
        <text class='fu-iconfont2  problemList_fd0_0_c0_c0'    >&#xE794;</text>
</view>
<text class='problemList_fd0_0_c1'  >问题列表</text>
    <view   class='flex flex-wrap align-center justify-end problemList_fd0_0_c0'      >
        </view>
</view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>
<!---flex布局flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout problemList_flex_1"    >
            <template v-for = '(item,key0) in classificationList'>
    <view   class='flex flex-wrap align-center justify-between problemList_fd1_0'   @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/wode/issueDetails/issueDetails?id=${item.aid}`"    :key='key0'>
        <text class='flex-sub problemList_fd1_0_c0'  >{{item.title}}</text>
<text class='fu-iconfont2  problemList_fd1_0_c1'  >&#xe78e;</text>
</view>
    </template>
    
</view>
        
<!---flex布局flex布局结束-->
    
    
        </view>
    </view>
</template>
<script>
    import {validate} from '@/common/utils/validate.js'
    
    export default {
        components:{},
        
        
        data(){
			return {"classificationList":[],"id":""};
		},
		computed:{
            themeColor() {
              return this.$store.getters.themeColor
            },
            
		},
		watch:{},
		onLoad(options){
            let {id}=options
if (id !== undefined) this.id = id
this.getClassificationFunc()
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
                            //获取列表
                async getClassificationFunc(){
                        //请求方法
    //数据验证
    
  let dataclassificationList = await this.$api.get(global.apiUrls.post64ddf9bb54684, {
    problem_id:this.id
  });
  
  if (dataclassificationList.data.code != 1) {
    this.$message.info(dataclassificationList.data.msg);
    return
  } 
  let infoclassificationList = dataclassificationList.data;
  this.classificationList = infoclassificationList.data
  
                }
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:rgba(255, 255, 255, 1);background-size: 100% auto;
        }
    .problemList_flex_0{
        border-bottom:1px solid #eee;background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .problemList_fd0_0_c1{
        font-size:36rpx;font-weight:500;color:#333;height:50rpx;
    }
    .problemList_fd0_0_c0_c0{
        font-size:36rpx;color:#333;
    }
    .problemList_fd0_0_c0{
        width:120rpx;height:88rpx;
    }
    .problemList_fd0_0{
        padding:0rpx 32rpx 0rpx 32rpx;height:88rpx;
    }
    .problemList_flex_1{
        padding:0rpx 32rpx 0rpx 32rpx;
    }
    .problemList_fd1_0_c1{
        font-size:28rpx;color:rgba(0, 0, 0, 1);
    }
    .problemList_fd1_0_c0{
        color:#333;font-size:30rpx;font-weight:500;margin:0rpx 24rpx 0rpx 0rpx;-webkit-line-clamp:1;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;
    }
    .problemList_fd1_0{
        border-bottom:1px solid #eee;padding:32rpx 0rpx 32rpx 0rpx;
    }
</style>